package com.puman.feign.model;

public class User {
    long id;
    String name;

    public User(){}
    public User(String name, long id){
        this.name = name;
        this.id = id;
    }
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "id:"+id+",name:"+name;
    }
}
